<ion-view view-title="收藏管理">
	<ion-content class="page">
		<div class="p10 ">我收藏的工程师（<span class="p10 color-9">普通用户可见</span>）</div>
		<ion-list>
			<a ui-sref="app.engineer-detaila({id: item.id})" class="item item-thumbnail-left" ng-repeat="item in favoriteEngineer">
				<img src="img/engineer/engineer3.jpg">
				<h2>{{item.realname}} <i class="iconfont f10 color-energized">&#xe646;</i> </h2>
				<p class="color-9">{{item.types}}</p>
				<p class="color-assertive f14">{{item.level}}分</p>
				<p>擅长：{{item.adept}}</p>
			</a>
			<a ui-sref="app.engineer" class="item item-thumbnail-left animate-repeat" ng-if="favoriteEngineer.length==0">
				<img src="img/engineer/engineer2.jpg">
				<h2>尚未收藏任何工程师</h2>
				<p class="color-9">请前往【广场展示】寻找心仪的工程师吧!</p>
			</a>
		</ion-list>
		<div class="p10" ng-if="identity.isEngineer">
			我收藏的任务（<span class="p10 color-9">工程师可见</span>）
		</div>
		<ion-list ng-if="identity.isEngineer">
			<a ui-sref="app.task-detail({id: item.id})" class="item item-thumbnail-left mb5 line-se-t item-borderless" ng-repeat="item in favoriteTasks">
				<img src="img/task/task1.jpg">
				<h2><div class="task-name">{{item.property}}<i class="radius20 bg-energized f11">{{item.category}}</i> </div></h2>
				<p class="color-9 mt8">
					任务联系人: {{item.linkman}} 任务联系电话:[{{item.linkmobile}}]
				</p>
				<p class="time f11 color-a text-right mt10">任务金额: {{item.money}}</p>
			</a>
			<a ui-sref="app.tasks" class="item item-thumbnail-left mb5 line-se-t item-borderless" ng-if="favoriteTasks.length==0">
				<img src="img/task/task1.jpg">
				<h2>尚未收藏任何任务</h2>
				<p class="color-9 mt8">
					请前往【发现任务】寻找心仪的任务吧!
				</p>
			</a>
		</ion-list>
	</ion-content>
</ion-view>